$OpenBSD: patch-jsopcode_cpp,v 1.1 2017/04/18 21:14:06 espie Exp $
--- jsopcode.cpp.orig	Tue Apr 18 15:38:58 2017
+++ jsopcode.cpp	Tue Apr 18 15:39:28 2017
@@ -6067,7 +6067,7 @@ ExpressionDecompiler::write(JSString *s)
 bool
 ExpressionDecompiler::quote(JSString *s, uint32_t quote)
 {
-    return QuoteString(&sprinter, s, quote) >= 0;
+    return QuoteString(&sprinter, s, quote) != NULL;
 }
 
 JSAtom *
